<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html lang="en">
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8" />
    <title>用户信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="stilearning" />

    <link href="css/bootstrap.css" rel="stylesheet" />
    <link href="css/bootstrap-responsive.css" rel="stylesheet" />
    <link href="css/stilearn.css" rel="stylesheet" />
    <link href="css/stilearn-responsive.css" rel="stylesheet" />
    <link href="css/stilearn-helper.css" rel="stylesheet" />
    <link href="css/stilearn-icon.css" rel="stylesheet" />
    <link href="css/font-awesome.css" rel="stylesheet" />
    <link href="css/animate.css" rel="stylesheet" />
    <link href="css/uniform.default.css" rel="stylesheet" />

    <link href="css/select2.css" rel="stylesheet" />
    <link href="css/fullcalendar.css" rel="stylesheet" />
    <link href="css/bootstrap-wysihtml5.css" rel="stylesheet" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>

    <body>
        <!-- section header -->
        <header class="header">
            <!--nav bar helper-->
            <div class="navbar-helper">
                <div class="row-fluid">
                    <!--panel site-name-->
                    <div class="span10">
                        <div class="panel-sitename">
                            <h2><a href="admin.html"><span class="color-teal">RSC</span>-System</a></h2>
                        </div>
                    </div>
                    <div class="span2">
                        <!--panel button ext-->
                        <div class="panel-ext">

                            <div class="btn-group user-group">
                                <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                    <img class="corner-all" align="middle" src="img/user-thumb.jpg" title="John Doe" alt="john doe" /> <!--this for display on PC device-->
                                    <button class="btn btn-small btn-inverse">John Doe</button> <!--this for display on tablet and phone device-->
                                </a>
                                <ul class="dropdown-menu dropdown-user" role="menu" aria-labelledby="dLabel">
                                    <li>
                                        <div class="media">
                                            <a class="pull-left" href="#">
                                                <img class="img-circle" src="img/user.jpg" title="profile" alt="profile" />
                                            </a>
                                            <div class="media-body description">
                                                <p><strong>John Doe</strong></p>
                                                <p class="muted">13800000</p>
                                                <p class="action"><a class="link" href="alterinfo.html">Setting</a></p>
                                                <a href="bonus-page/resume/index.html" class="btn btn-primary btn-small btn-block">View Profile</a>
                                            </div>
                                        </div>
                                    </li>
                                    <li class="dropdown-footer">
                                        <div>
                                            <a class="btn btn-small " href="login.html">Logout</a>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div><!--panel button ext-->
                    </div>
                </div>
            </div><!--/nav bar helper-->
        </header>

        <!-- section content -->
        <section class="section">
            <div class="row-fluid">
                <!-- span side-left -->
                <div class="span1">
                    <!--side bar-->
                    <aside class="side-left">
                        <ul class="sidebar">
                            <li class="active first"> 
                                <a href="user.jsp" title="dashboard">
                                    <div class="helper-font-24">
                                        <i class="icofont-dashboard"></i>
                                    </div>
                                    <span class="sidebar-text">主页</span>
                                </a>
                            </li>
                            <li>
                                <a href="userInfo" title="interface">
                                    <div class="helper-font-24">
                                        <i class="icofont-magnet"></i>
                                    </div>
                                    <span class="sidebar-text">个人信息</span>
                                </a>
                            </li>
                            <li>
                                <a href="userParcels" title="grids">
                                    <div class="helper-font-24">
                                        <i class="icofont-columns"></i>
                                    </div>
                                    <span class="sidebar-text">我的包裹</span>
                                </a>
                            </li>
                        </ul>
                    </aside><!--/side bar -->
                </div><!-- span side-left -->
                
                <!-- span content -->
                <div class="span11">
                    <!-- content -->
                    <div class="content">
                        <!-- content-header -->
                        <div class="content-header">
                            <h2><i class="icofont-home"></i> 我的信息 </h2>
                        </div><!-- /content-header -->

                        <!-- content-body -->
                        <div class="content-body">
                            <!-- dashboar -->
                            <!--element-->
                            <div id="element" class="row-fluid">
                                <!--span-->
                                <div class="span12">
                                    <!--box-->
                                    <div class="box corner-all">
                                        <!--box header-->
                                        <div class="box-header grd-white color-silver-dark corner-top">
                                            <div class="header-control">
                                                <a data-box="collapse"><i class="icofont-caret-up"></i></a>
                                            </div>
                                            <!-- <span>Elements</span> -->
                                        </div><!--/box header-->
                                        <!--box body-->
                                        <div class="box-body">
                                            <!--element-->
                                            <form class="form-horizontal" />
                                            <div class="control-group">
                                                <label class="control-label"><h4>ID:</h4></label>
                                                <div class="controls">
                                                  <span class="add-on"><h5><s:property value="user.id" /><h5></span>
                                                 </div>
                                             </div>
                                             <div class="control-group">
                                                <label class="control-label"><h4>用户名:</h4></label>
                                                <div class="controls">
                                                    <span class="add-on"><h5><s:property value="user.name" /><h5></span>
                                                </div>
                                            </div>
                                            <div class="control-group">
                                                <label class="control-label"><h4>密码:</h4></label>
                                                <div class="controls">
                                                    <span class="add-on"><h5><s:property value="user.pwd" /><h5></span>
                                                </div>
                                            </div>
                                            <div class="control-group">
                                                <label class="control-label"><h4>邮箱:</h4></label>
                                                <div class="controls">
                                                    <span class="add-on"><h5><s:property value="user.email" /><h5></span>
                                                </div>
                                            </div>

                                            <div class="control-group">
                                                <label class="control-label"><h4>联系电话:</h4></label>
                                                <div class="controls">
                                                    <span class="add-on"><h5><s:property value="user.tel" /><h5></span>
                                                </div>
                                            </div>
                                            <div class="control-group">
                                                <label class="control-label"><h4>会员等级:</h4></label>
                                                <div class="controls">
                                                    <span class="add-on"><h5><s:if test="user.level==0">集团用户</s:if>
                                                    <s:elseif test="user.level==1">vip用户</s:elseif>
                                                    <s:else>普通用户</s:else>
                                                    <h5></span>
                                                </div>
                                            </div> 
                                            <div class="form-actions">
                                                <button onclick="location.href='userinfo_modify.jsp'" type="button" class="btn btn-primary">修改</button>
                                            </div>
                                        </form>
                                        <!--/element-->
                                    </div><!--/box body-->
                                </div><!--/box-->
                            </div><!--/span--> 
                        </div><!--/element-->

                        <div class="divider-content"><span></span></div>
                        <!-- tab resume content -->
                        <div class="row-fluid">
                            <!-- tab resume update -->
                            <div class="span6">
                            </div><!-- tab resume update -->
                            <div class="span6">

                            </div>
                        </div><!-- tab stat -->
                    </div><!--/content-body -->
                </div><!-- /content -->
            </div><!-- /span content -->
        </div>
    </section>

    <!-- section footer -->
    <footer>
        <a rel="to-top" href="#top"><i class="icofont-circle-arrow-up"></i></a>
    </footer>

        <!-- javascript
        ================================================== -->
        <script src="js/jquery.js"></script>
        <script src="js/jquery-ui.min.js"></script>
        <script src="js/bootstrap.js"></script>
        <script src="js/uniform/jquery.uniform.js"></script>
        <script src="js/peity/jquery.peity.js"></script>

        <script src="js/select2/select2.js"></script>
        <script src="js/knob/jquery.knob.js"></script>
        <script src="js/flot/jquery.flot.js"></script>
        <script src="js/flot/jquery.flot.resize.js"></script>
        <script src="js/flot/jquery.flot.categories.js"></script>
        <script src="js/wysihtml5/wysihtml5-0.3.0.js"></script>
        <script src="js/wysihtml5/bootstrap-wysihtml5.js"></script>
        <script src="js/calendar/fullcalendar.js"></script> <!-- this plugin required jquery ui-->

        <!-- required stilearn template js, for full feature-->
        <script src="js/holder.js"></script>
        <script src="js/stilearn-base.js"></script>

        <script type="text/javascript">
        $(document).ready(function() {
                // try your js
            });      
        </script>
    </body>
    </html>
